@import '~@/scss/GlobalVariables';

.wrap {
  .send-form {
    padding: 40px 60px 0;

    .title-container {
      align-items: flex-end;
      display: flex;
      margin-bottom: 10px;

      .title-and-copy {
        display: flex;
        padding: 0 8px;
        width: 100%;

        div {
          h4 {
            margin-bottom: 2px;
          }
        }

        .form-controller {
          display: flex;
          margin-left: auto;

          p {
            margin-left: 25px;
          }
        }
      }

      .title {
        padding: 0 8px;

        .title-helper {
          display: flex;
          margin-bottom: 2px;

          h4 {
            margin-right: 10px;
          }
        }
      }

      .buttons {
        margin-bottom: 3px;
        margin-left: auto;
      }
    }

    .form-block {
      border-radius: 5px;

      .the-form {
        background-color: $background-color-1;
        border-radius: 5px;
      }
    }

    .amount-to-address {
      display: grid;
      grid-column-gap: 5px;
      grid-template-columns: 2fr 3fr;

      .title {
        margin-bottom: 13px;
        padding: 0 8px;
      }

      .amount {
        .dropdown-select-search-1 {
          background-color: $background-color-1;
          margin-bottom: 5px;
          position: relative;

          i {
            color: $text-color-2;
            left: 14px;
            position: absolute;
            top: 16px;
          }
        }

        .amount-number {
          position: relative;

          input {
            background-color: transparent;
            border: 0;
            padding: 13px 15px;
            width: 100%;
          }

          i {
            position: absolute;
            right: 13px;
            top: 13px;
          }
        }
      }

      .to-address {
        position: relative;

        .title {
          align-items: center;
          display: flex;
          position: relative;

          img {
            height: 50px;
            left: 98px;
            position: absolute;
            top: -14px;
          }

          .copy-button {
            margin-left: auto;
          }
        }

        .address-block {
          height: 98px;

          i {
            bottom: 13px;
            position: absolute;
            right: 13px;
          }

          textarea {
            background-color: transparent;
            border: 0;
            height: 100%;
            padding: 13px 15px;
            resize: none;
            width: 100%;
          }
        }
      }
    }

    .gas-amount {
      position: relative;

      input {
        background-color: $background-color-1;
        border: 0;
        padding: 13px 15px;
        width: 100%;
      }

      .good-button-container {
        align-items: center;
        display: flex;
        position: absolute;
        right: 10px;
        top: 12px;

        p {
          color: $text--link-color;
          margin-right: 10px;
        }
      }
    }

    .error-message-container {
      p {
        color: $text-color-red;
        margin: 7px 0 0 15px;
      }
    }
  } // .send-form

  .advanced {
    padding-top: 10px;

    .advanced-content {
      border-bottom: 2px solid $background-color-1;
      border-top: 2px solid $background-color-1;
      display: flex;
      padding: 0 8px;
      padding-bottom: 20px;
      padding-top: 20px;

      .toggle-button {
        align-items: center;
        display: flex;
        margin-left: auto;

        > span {
          margin-right: 15px;
        }
      }
    }
  } // .advanced

  .submit-button-container {
    padding: 60px 0;
    text-align: center;

    .submit-button {
      margin: 0 auto;
      text-align: center;
      width: 300px;
    }

    p {
      margin-top: 20px;
    }
  }
}
